Linking visual properties of charts to cells within tables

ABSTRACT

Tools and techniques are described for linking visual properties of charts to cells within tables. Methods provided by these tools enable users to select visual properties that are associated with graphical displays of chart data, and to link these visual properties to respective cells within the tables. User interfaces provided by these tools may provide representations of visual properties associated with the graphical displays of chart data, with these representations of the visual properties being responsive to user input to link the cells in the tables to the visual properties. These user interfaces may also include representations of the cells that are associated with the representations of the visual properties.

BACKGROUND

Spreadsheet applications enable users to visualize relationships betweenany number of different numerical data items. For example, spreadsheetapplications may generate charts, graphs, or other visualizations ofunderlying data contained within a spreadsheet. As the complexity ofthese relationships and the underlying numerical data continues toincrease, users may wish to adjust or customize the visualizations ofthis underlying data.

SUMMARY

Tools and techniques are described for linking visual properties ofcharts to cells within tables. Methods provided by these tools enableusers to select visual properties that are associated with graphicaldisplays of chart data, and to link these visual properties torespective cells within a table. User interfaces provided by these toolsmay provide representations of visual properties associated with thegraphical displays of chart data, with these representations of thevisual properties being responsive to user input to link the cells inthe chart data to the visual properties. These user interfaces may alsoinclude representations of the cells that are associated with therepresentations of the visual properties.

The above-described subject matter may also be implemented as a method,computer-controlled apparatus, a computer process, a computing system,or as an article of manufacture such as a computer-readable medium.These and various other features will be apparent from a reading of thefollowing Detailed Description and a review of the associated drawings.

This Summary is provided to introduce a selection of concepts in asimplified form that are further described below in the DetailedDescription. This Summary is not intended to identify key features oressential features of the claimed subject matter, nor is it intendedthat this Summary be used to limit the scope of the claimed subjectmatter. Furthermore, the claimed subject matter is not limited toimplementations that solve any or all disadvantages noted in any part ofthis disclosure.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a combined block and flow diagram illustrating systems oroperating environments that enable linking visual properties of chartsto cells within tables.

FIG. 2 is a block diagram illustrating additional aspects of dynamicchart properties as linked to table elements.

FIG. 3 is a block diagram illustrating example scenarios in which dialogboxes may enable users to link properties within a chart to one or morereferenced cells.

FIG. 4 is a flow diagram illustrating processes for dynamically linkingproperties within a chart to referenced cells.

DETAILED DESCRIPTION

The following detailed description is directed to technologies forlinking visual properties of chart to cells within tables. While thesubject matter described herein is presented in the general context ofprogram modules that execute in conjunction with the execution of anoperating system and application programs on a computer system, thoseskilled in the art will recognize that other implementations may beperformed in combination with other types of program modules. Generally,program modules include routines, programs, components, data structures,and other types of structures that perform particular tasks or implementparticular abstract data types. Moreover, those skilled in the art willappreciate that the subject matter described herein may be practicedwith other computer system configurations, including hand-held devices,multiprocessor systems, microprocessor-based or programmable consumerelectronics, minicomputers, mainframe computers, and the like.

In the following detailed description, references are made to theaccompanying drawings that form a part hereof, and which are shown byway of illustration specific embodiments or examples. Referring now tothe drawings, in which like numerals represent like elements through theseveral figures, aspects of tools and techniques for linking visualproperties of chart data to cells within tables will be described.

FIG. 1 illustrates systems or operating environments, denoted generallyat 100, that enable linking visual properties of chart data to cellswithin the tables. These systems 100 may include one or more serversystems 102 a, one or more portable, notebook, or laptop computingsystems 102 b, and/or one or more relatively stationary desktopcomputing systems 102 n (collectively, systems 102). Although FIG. 1illustrates these examples of various computing systems, the descriptionherein may be implemented with other types of computing systems withoutdeparting from the scope and spirit of this description. Morespecifically, the graphical elements used in FIG. 1 to depict thesevarious systems are chosen only to facilitate illustration, and not tolimit possible implementations of the description herein.

Turning to the systems 102 in more detail, these systems may include oneor more processors 104, which may have a particular type orarchitecture, chosen as appropriate for particular implementations. Theprocessors 104 may couple to one or more bus systems 106 chosen forcompatibility with the processors 104.

The systems 102 may also include one or more instances ofcomputer-readable storage media 108, which couple to the bus systems106. The bus systems may enable the processors 104 to read code and/ordata to/from the computer-readable storage media 108. The media 108 mayrepresent storage elements implemented using any suitable technology,including but not limited to semiconductors, magnetic materials, optics,or the like. The media 108 may include memory components, whetherclassified as RAM, ROM, flash, or other types, and may also representhard disk drives.

The storage media 108 may include one or more modules of instructionsthat, when loaded into the processor 104 and executed, cause the systems102 to perform various techniques for linking visual properties of chartdata to cells within the tables. For example, the computer-readablemedia 108 may include a spreadsheet application 110. In turn, thespreadsheet application 110 may load one or more spreadsheet files 112from storage, which may or may not be the same as the storage media 108.In addition, the spreadsheet application may include a module 114 thatprovides for dynamically managing properties associated with chartrepresentations of information contained in the spreadsheets. FIG. 1generally represents at 116 these charts and related propertiesassociated with these charts.

The spreadsheet application 110 may, when executed, present one or moreuser interface (UI) elements 118 to an end-user 120. Through these UIelements 118, the spreadsheet application 110 may receive commands 122from the end-user, with these commands 122 linking various dynamicproperties with cells within the spreadsheet, as described in furtherdetail below. FIG. 1 generally represents these links at 124.

While FIG. 1 illustrates and describes examples involving spreadsheets,and related applications, implementations of this description are notlimited to spreadsheets. For example, tables may contain datapresentable in chart form. Presentation applications (including, but notlimited to, the POWERPOINT™ application available from Microsoft),word-processing applications (including, but not limited to, the WORD™application also available from Microsoft), or other types ofapplications or utilities may import this table data, and present it inchart form within those applications or utilizes. These charts, aspresented within such applications, may include dynamic visualproperties that may be linked to cells within the tables, as provided inthis description.

Having described the overall systems in FIG. 1, the discussion now turnsto a more detailed description of dynamic chart properties as linked totable elements. This discussion is now presented with FIG. 2.

FIG. 2 illustrates additional aspects, denoted generally at 200, ofdynamic chart properties as linked to table elements. For ease ofreference, but not limitation, FIG. 2 may carry forward some referencenumbers from previous drawings to refer to similar items. For example,FIG. 2 carries forward the file 112, representations of charts and/orproperties 116, the dynamic chart management module 114, links 124between properties within the chart and cells within the spreadsheetfile, UI elements 118 depicting the chart and/or table cells, andcommands 122 as issued by the user 120.

FIG. 2 illustrates an arbitrary, non-limiting example of a chart 202,which may be associated with various visually-perceptible properties.Examples of such visual properties may include, but are not limited to,minimum and/or maximum value specified for one or more axes in thechart. FIG. 2 illustrates examples of visual properties at horizontalaxis 204, and at vertical axis property 206. As shown, the horizontalaxis 204 may be linked so as to refer to a given cell 208 within aspreadsheet 210. For example, characteristics of the horizontal axis 204may be defined automatically, manually, or may be specified withreference to the contents of the cell 208. The same description mayapply to the vertical axis 206, which may be linked to refer to a cell212, which may or may not be the same as the cell 208.

The cells 208 and 212 that specify various properties for the chart 202may contain formulas, which in turn may include functions as supportedalready by the spreadsheet 210. In this manner, the tools and techniquesdescribed herein may enable users (e.g., 120) to tailor the propertiesof the chart to particular data environments, by linking theseproperties to particular cells within the spreadsheet. In turn, theusers may program these cells as appropriate to achieve desiredcharacteristics of particular properties, or may directly enter valuesinto the cells to achieve these characteristics. The linked-to cells 208and 212 may themselves depend on other cells or values specified withinthe spreadsheet. These cells or values may change dynamically over timeas the spreadsheet is edited by users, recalculated, or the like duringnormal operation. In this manner, the linked-to cells 208 and 212 mayenable the visual properties of the chart to evolve or changedynamically as data within the spreadsheet itself changes.

The users (e.g., 120) may define entries in the linked-to cells 208 and212 without programming in the language in which the spreadsheetapplication (e.g., 110) is implemented. Typically, it is more difficultto program in the language in which the spreadsheet application isimplemented, as compared to operating with the predefined functionsprovided by the spreadsheet application. In some cases, the users 120may be more casual in nature, and may or may not possess the programmingskills to reprogram the spreadsheet application. Accordingly, the toolsand techniques described herein enable dynamic links between chartproperties and spreadsheet cells using the functions and capabilities ofthe spreadsheet application, but without involving programming inrelatively difficult programming languages. In this manner, the toolsand techniques described herein (e.g., the dynamic chart managementmodule 114) may lower the barriers to entry in making this dynamiclinking capability available to a wider variety of users 120.

Custom-programmed software when added to an existing program may entailsecurity risks, including the possibility of containing viruses or othermalicious elements. The dynamic linking techniques described herein donot involve the addition of custom-programmed software, and thereforeavoid these types of security risks. Instead of introducing new softwareand the attendant risks, the techniques described herein rely onpredefined spreadsheet functions, which are relatively low risk innature, as compared to new software written by various users 120.

Further examples of the properties or settings that may be dynamicallylinked to spreadsheet cells may include, but are not limited to, textlabels or any chart elements that include text boxes. Scaling propertieslinked to cells in the spreadsheet may specify scaling factorsapplicable to major and/or minor units of scale within the charts.

These properties may also specify characteristics of trendlines or othervisual elements appearing in a chart. For example, if a given trendlineis to be expressed as a polynomial, a cell (e.g., 208 or 212) mayspecify the order of the polynomial. In addition, these cells mayspecify a name for the trendline or a curve representing the polynomial.

In cases where spreadsheets project or forecast data looking forward intime, or summarize data looking backward in time, these cells (e.g., 208or 212) may specify how many time periods to project forwards orbackwards. In some implementations, these cells may explicitly specifythis number of time periods to include in such projections. In otherimplementations, these cells may contain formulas that, when executed,compute this number of time periods.

The linked-to cells (e.g., 208 or 212) may also specify Booleanproperties. For example, dialog boxes that contain checkboxes, or othersimilar UI tools may link to these cells. These dialog boxes may enableusers to specify whether axes in charts employ logarithmic scales, andto specify the base for such logarithmic scales.

Referenced cells (e.g., 208 or 212) may specify options for displayunits as presented on the axes of a chart. By default, these displayunits may include the actual quantities being represented in the chart.However, these linked-to cells may also specify whether to display theseunits in terms of 10's, 100's, 1000's, or the like. In this latterexample, formulas within the linked-to cells may examine the data beingrepresented in the chart, and determine the appropriate units in whichto display this data. This examination of the charted data, and relateddetermination of appropriate units for presenting this data, providesfurther examples of dynamic linking of properties within the charts.

The cells 208 or 212 may also specify how to align tick marks relativeto lines representing axes within a chart. For example, entries in thesecells may specify whether to place the tick marks perpendicularly to theleft of an axis, to the right of the axis, or across the axis.

The foregoing examples of chart properties, which may be linked to cellswithin a spreadsheet, are provided only for convenience in facilitatingthis description. However, implementations of this description mayinclude other examples of chart properties without departing from thescope and spirit of this description.

Having described the additional aspects of dynamic chart properties aslinked to spreadsheet elements in FIG. 2, the discussion now proceeds toa description of example dialog boxes through which users may linkproperties to referenced or linked-to cells. This discussion is nowpresented with FIG. 3.

FIG. 3 illustrates example scenarios, denoted generally at 300, in whichdialog boxes may enable users to link properties within a chart to oneor more referenced cells. For ease of reference and description, but notto limit possible implementations, FIG. 3 may carry forward some itemsfrom previous drawings, and label these items with similar referencenumbers. For example, FIG. 3 carries forward an example chart 202, anexample spreadsheet 210 with examples of referenced cells 208 and 210.In a non-limiting example shown in FIG. 3, the dynamic chart managementmodule 114 and the UI elements 118 may enable these scenarios 300.However, other modules or components may enable these scenarios withoutdeparting from the scope and spirit of this description.

Turning to FIG. 3 in more detail, the UI elements 118 may present adialog box 302, shown in block form in FIG. 3. The dialog box 302 mayinclude representations of one or more properties related to the chart202. FIG. 3 provides examples of two such property representations,denoted at 304 a and 304 n (collectively, property representations 304).However, implementations on the dialog box may include representationsof any number of properties.

By interacting with the representations 304 of various properties withina given chart, a user (e.g., 120) may link or associate these propertieswith various referenced or linked-to cells (e.g., 208, 212, or thelike). The dialog box 302 may include representations of such cells, asdenoted at 306 a and 306 n (collectively, cell representations 306). Forexample, the cell representations 306 may include UI devices, such asdrop-downs or other tools, that enable the user to link a cell withinthe spreadsheet (e.g., 210) with a property. FIG. 3 illustrates theproperty 304 a as linked to the cell 306 a, and the property 304 nlinked to the cell 306 n, as represented by dashed lines within thedialog box 302.

In the foregoing manner, the contents of these referenced cells, whetherthese contents are explicit values or calculated formulas, may influencehow the corresponding or linked properties behave within the chart 202.In addition, the contents of these referenced cells (e.g., 306 n) may beextracted to serve as labels within the chart, as denoted generally at308. In addition to such labels, contents of these referenced cells mayprovide values to be displayed within the chart, as denoted generally at310. The referenced cells may also provide categories for organizinginformation displayed within the chart, as denoted at 312. In anotherexample, the referenced cells may contain formulas that computeproperties related to the chart, as denoted at 314.

Having described these scenarios in which dialog boxes may enable usersto link properties within a chart to one or more referenced cells inFIG. 3, the discussion now turns to a description of process flows fordynamically linking properties within a charge to referenced cells. Thisdescription is now presented with FIG. 4.

FIG. 4 illustrates process flows, denoted generally at 400, fordynamically linking properties within a chart to referenced cells. Forease of reference, but not to limit possible implementations, theprocess flows 400 are described in connection with the dynamic chartmanagement module 114. However, other components may perform at leastpart of the process flows 400 without departing from the scope andspirit of this description.

Turning to the process flows 400 more detail, block 402 generallyrepresents presenting a chart that graphically depicts data extractedfrom a data set or file (e.g., 112 in FIG. 1). For example, block 402may include presenting a chart such as that shown in FIGS. 2 and 3 at202.

Block 404 generally represents activating and presenting a formattingdialog box through which the user may link one or more visual propertiesof the chart with cells defined within a spreadsheet. For example, block404 may include presenting a dialog box, such as that shown in blockform at 302 in FIG. 3. The dialog box presented by block 404 may includerepresentations of various properties associated with the chart, withFIG. 3 providing examples of property representations at 304 a and 304n.

Block 406 generally represents enabling a user to select one or morevisual properties of a chart to link to the cell within the spreadsheet.In some implementations, block 406 may include enabling the user toexplicitly enter values into the cell, with these values influencing thevisual properties. In other implementations, block 406 may includeenabling the user to create a formula that calculates a visual propertyof the chart. As examples of these latter implementations, block 406 mayinclude enabling the user to create a formula that calculates labels orlengths of axes dynamically based upon the data represented within thechart.

Block 408 generally represents receiving input from a user selecting aproperty to be linked to a cell. For example, block 406 may includereceiving input from a user clicking or otherwise activating someportion of a dialog box that includes a representation of a particularproperty. In this matter, the user may indicate which property he or shewishes to link or reference to a particular cell within a spreadsheet.

Block 410 generally represents activating a tool that enables a user toselect a particular cell within the spreadsheet. More specifically,block 410 may include presenting one or more tools by which the user maylink or associate properties with a contents of the particular cell.Examples of such tools may include any mechanisms by which the users mayselect particular cells, for example, by indicating rows and columns ofsuch cells.

Block 412 generally represents receiving a selection of a cell to linkto a particular property. As described above in FIG. 3, cells maycontain different types of contents that may influence the behavior ofproperties within the chart. For example, these cells may includeformulas that calculate chart properties based on dynamic data occurringwithin the spreadsheet. In other examples, these cells may specifyvalues, labels, and/or categories that relate to particular chartproperties.

Block 414 generally represents linking a property or setting associatedwith the chart, or other graphical display of spreadsheet data, with oneor more cells that specify labels, values, categories, functions, orformulas that define or influence these properties or settings. Morespecifically, block 414 may include associating properties with cells,as represented in FIG. 3 by the dashed lines between propertyrepresentations 304 and cell representations 306.

Decision block 416 generally represents testing whether a change hasoccurred within a cell to which a given property is linked. The processflows 400 may loop back to block 416 via No branch so long as no changeoccurs within the cell to which the given property is linked. However,when such a change occurs, the process flows 400 may take Yes branch 420to block 422, which represents updating the visual property in responseto this change. Afterwards, the process flows 400 may return to block416 to await further changes in the cell. In this manner, the processflows 400 may enable the visual properties to adapt or updatedynamically in response to changing data within a spreadsheet. Inaddition, while the process flows 400 are described in connection with agiven property and a given cell, it is noted that implementations ofthese process flows may be performed concurrently for any number ofgiven properties and cells to which these properties are linked.

For ease of description only, but not to limit possible implementations,certain flow diagrams presented herein may include data and/or processflows that are indicated as unidirectional. However, it is noted thatthese unidirectional representations are presented only for conveniencein providing this description, and do not preclude or restrictimplementations that may include bidirectional flows. In addition,implementations of the process flows described herein may proceed inorders other than those shown in the drawings without departing from thespirit and scope of this description.

Although the subject matter presented herein has been described inlanguage specific to computer structural features, methodological acts,and computer readable media, it is to be understood that the inventiondefined in the appended claims is not necessarily limited to thespecific features, acts, or media described herein. Rather, the specificfeatures, acts and mediums are disclosed as example forms ofimplementing the claims.

The subject matter described above is provided by way of illustrationonly and should not be construed as limiting. Various modifications andchanges may be made to the subject matter described herein withoutfollowing the example embodiments and applications illustrated anddescribed, and without departing from the true spirit and scope of thepresent invention, which is set forth in the following claims.

What is claimed is:
 1. At least one computer-readable storage medium having computer-executable instructions stored thereon which, when executed by a computer, cause the computer to: present a user interface element comprising representations of a plurality of visual formatting properties of a chart display of data contained within a table and representations of a plurality of cells in the table; receive through the user interface element a command for linking individual visual formatting properties of the plurality of visual formatting properties to contents of selected individual cells of the plurality of cells; in response to receiving the command, link the individual visual formatting properties to the contents of the selected individual cells such that changes to the contents of one of the selected individual cells influences a corresponding one of the visual formatting properties; and wherein the contents of the one of the selected individual cells comprises a formula that calculates the corresponding one of the visual formatting properties and indicates whether to present the corresponding one of the individual visual formatting properties in connection with a logarithmic scale.
 2. The computer-readable storage medium of claim 1, wherein the chart display is presented within a spreadsheet application.
 3. The computer-readable storage medium of claim 1, wherein at least one of the individual visual formatting properties comprises a maximum or minimum value presented on at least one axis within the chart display.
 4. The computer-readable storage medium of claim 1, wherein at least one of the individual visual formatting properties comprises a trendline included within the chart display.
 5. The computer-readable storage medium of claim 4, wherein the contents of the one of the selected individual cells includes a custom name for the trendline.
 6. The computer-readable storage medium of claim 1, wherein at least one of the individual visual formatting properties comprises a trendline represented as a polynomial curve within the chart display, and wherein the contents of the one of the selected individual cells indicates an order of the polynomial curve.
 7. The computer-readable storage medium of claim 1, wherein the formula depends on at least one value specified within another cell of the plurality of cells.
 8. The computer-readable storage medium of claim 1, wherein the contents of the one of the selected individual cells specifies a base for a logarithmic scale for presenting the corresponding one of the individual visual formatting properties.
 9. The computer-readable storage medium of claim 1, wherein the contents of the one of the selected individual cells specifies display units for axes included within the chart display.
 10. The computer-readable storage medium of claim 1, wherein the contents of the one of the selected individual cells specifies where to align at least one tick mark relative to axes included within the chart display.
 11. An apparatus comprising: a processor; and a computer-readable storage medium having computer-executable instructions stored thereon which, when executed by a computer, cause the apparatus to present a user interface element comprising representations of a plurality of visual formatting properties of a chart display of data contained with a table and representations of a plurality of cells in the table, receive through the user interface element a command for linking individual visual formatting properties of the plurality of visual formatting properties to contents of selected individual cells of the plurality of cells, in response to receiving the command, link the individual visual formatting properties to the contents of the selected individual cells such that changes to the contents of one of the selected individual cells influences a corresponding one of the individual visual formatting properties, and wherein the contents of the one of the selected individual cells comprises a formula that calculates the corresponding one of the individual visual formatting properties and indicates whether to present the corresponding one of the individual visual formatting properties in connection with a logarithmic scale.
 12. The apparatus of claim 11, wherein the formula depends on at least one value specified within another cell of the plurality of cells.
 13. A computer-implemented method for linking visual properties of charts to cells within tables comprising: displaying a user interface element comprising representations of a plurality of visual formatting properties of a chart display of data contained within a table and representations of a plurality of cells within the table; receiving, through the user interface element a command for linking individual visual formatting properties of the plurality of visual formatting properties to contents of selected individual cells of the plurality of cells within the table; in response to receiving the command, linking the individual visual formatting properties to the contents of the selected individual cells such that changes to the contents of one of the selected individual cells influences a corresponding one of the individual visual formatting properties; and wherein the contents of the one of the selected individual cells comprises a formula that calculates the corresponding one of the individual visual formatting properties and indicates whether to present the corresponding one of the individual visual formatting properties in connection with a logarithmic scale.
 14. The computer-implemented method of claim 13, further comprising instructions for enabling a user to create the formula within the selected one of the individual cells.
 15. The computer-implemented method of claim 13, further comprising instructions for presenting the chart display to the user.
 16. The computer-implemented method of claim 13, wherein the user interface element comprises a dialog box.
 17. The computer-implemented method of claim 13, wherein the contents of the one of the selected individual cells specifies a base for a logarithmic scale for presenting the corresponding one of the individual visual formatting properties.
 18. The computer-implemented method of claim 13, wherein the chart display is presented within a spreadsheet application. 